package com.jackrain.nea.ext.sequence.enums;

/**
 * @author xubin
 * 2017-11-15
 */
public enum CycletypeEnum {
    N("默认", ""), Y("年", "yyyy"), M("月", "yyyyMM"), D("日", "yyyyMMdd");
    private String desc;
    private String dateFormater;

    CycletypeEnum(String desc, String dateFormater) {
        this.desc = desc;
        this.dateFormater = dateFormater;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getDateFormater() {
        return dateFormater;
    }

    public void setDateFormater(String dateFormater) {
        this.dateFormater = dateFormater;
    }
}
